class PostsController < ApplicationController
	before_filter :rss
	
	def index
		@posts = Post.find(:all, :order=>"created_at DESC", :limit=>10)
	end
		
	def show
		@post = Post.find(params[:id])
	end
	
	private 
	
	def rss
		@rss_feed = true
	end
end
